home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir24 / hamcom30.zip / HC.CFG < prev    next >
Text File  |  1994-06-15  |  14KB  |  524 lines

  1. #
  2. # HC.CFG 940615
  3. #
  4. # HamComm 3.0 sample configuration file
  5. #
  6.  
  7. #
  8. # HamComm will automatically search for the file HC.CFG on program startup.
  9. # The current directory is searched first, then all directories along
  10. # the current "PATH" environment variable.
  11. #
  12. # The character '#' starts a comment.  All characters up to the end of
  13. # the line are ignored, including the '#' character itself.
  14. #
  15. # Numbers are normally entered in decimal notation, but you can also
  16. # use hexadecimal values starting in '0x'.
  17. #
  18.  
  19.  
  20. #
  21. # On program termination you are asked if you really want to quit now.
  22. # This dialog can be enabled/disabled using the following command.
  23. #
  24.  
  25. set confirmexit on
  26.  
  27.  
  28. #
  29. # Setup serial ports
  30. #
  31. # HamComm maintains an internal table of available serial ports.
  32. # Every port has a unique base port address and interrupt request line.
  33. # Up to four ports can be defined.  On startup the table looks like this:
  34. #
  35. #       iobase  irq
  36. #  COM1  0x3f8   4
  37. #  COM2  0x2f8   3
  38. #  COM3      0   0
  39. #  COM4      0   0
  40. #
  41. # COM1 and COM2 are predefined to their standard values.
  42. # COM3 and COM4 are undefined.
  43. #
  44. # Undefined ports can not be selected from the 'Port' menue.
  45. #
  46. # Let's assume we have a non-standard serial port at address 0x2E0 (hex)
  47. # using interrupt request 11.  The following 'define port' statement will
  48. # make this port available as COM4.
  49. #
  50.  
  51. # Example: define port com4  iobase 0x2e0  irq 11
  52.  
  53.  
  54. #
  55. # We can also redefine any port using the 'define port' statement.
  56. #
  57. # For the following example let's assume we have a mouse connected to
  58. # COM1, so we don't want HamComm to fool around with that port.
  59. # If you remove the comment character from the following statement
  60. # the base address and irq for COM1 will be set to 0 and HamComm
  61. # will ignore it.  Consequently COM1 is now no longer available from
  62. # the 'Port' menue.
  63. #
  64.  
  65. # Example: define port com1  iobase 0  irq 0
  66.  
  67.  
  68. #
  69. # At startup HamComm normally uses COM2.  This can be changed with
  70. # the 'select port' statement.  Undefined ports can not be selected.  
  71. # (see also: 'define port com...' above). 
  72.  
  73. select port com2
  74.  
  75.  
  76. #
  77. # HamComm needs the current date/time in several places.  It is displayed
  78. # on the screen, written to logfiles and can easily be included in the TX
  79. # window.  If you don't want to use the PCs local time the following
  80. # command sets the name (3 characters) of the desired timezone.
  81. #
  82. # Example: it is often convenient to keep time in UTC, so ...
  83. #
  84.  
  85. set timezone UTC
  86.  
  87.  
  88. #
  89. # The "set timezone ..." command above sets just the name of the
  90. # timezone to be used.  In order to display the correct time for that zone
  91. # HamComm needs to know the difference in seconds between the PCs clock
  92. # and the desired timezone. 
  93. #
  94. # Example: 
  95. #
  96. # i live in Germany.  The local timezone is "Central European Time"
  97. # which is one hour ahead of UTC, so i have to subtract one hour from
  98. # the PCs current time.  One hour is about 3600 seconds. 
  99. #
  100.  
  101. set timediff -3600
  102.  
  103.  
  104. #
  105. # The operating mode can be changed from a .CFG file using the "set mode .."
  106. # command.  Available modes are:
  107. # CW, BAUDOT, ASCII7, ASCII8, FEC, ARQ, ARQLISTEN,
  108. # BITLEN, SCOPE, SPECTRUM and TUNE.
  109. #
  110.  
  111. # Example: set mode baudot
  112.  
  113.  
  114. #
  115. # AMTOR clock correction.  Receive-only may work without adjustment.
  116. # See manual for details.
  117. #
  118.  
  119. set clockcorr 0
  120.  
  121.  
  122. #
  123. # Enable/disable AAB (Automatic-Answer-Back) for AMTOR ARQ mode.
  124. # If a link is established with an AMTOR station in ARQ mode
  125. #    and a WRU (who-are-you) character is received
  126. #    and AAB is enabled
  127. #    and the text 'AmtorAAB' is defined,   
  128. # HamComm will automatically turn the link around and send the AmtorAAB text.
  129. # Some AMTOR mailboxes send a WRU character after the link is established.
  130. # AAB can be used for automatic login.
  131. #
  132.  
  133. set amtoraab on
  134.  
  135.  
  136. #
  137. # 'Extended baudot' maps all ASCII characters to an extended Baudot code.
  138. # It is used by the APLINK (Amtor-Packet LINK) mailboxes around the world.
  139. #
  140.  
  141. set extendedbaudot on
  142.  
  143.  
  144. #
  145. # Set the baud value for Baudot and ASCII send and receive modes.
  146. # The default value is 45 baud.
  147. #
  148.  
  149. set baud 45
  150.  
  151.  
  152. #
  153. # Set the WPM value for morse code transmission.
  154. # The default value is 15 WPM.  
  155. #
  156.  
  157. set wpm 15
  158.  
  159.  
  160. #
  161. # Set the startup audio center frequency for receive and transmit tones.
  162. # You may select any value between 500Hz and 2400Hz (default is 700Hz).
  163. #
  164.  
  165. set afcenter 1360
  166.  
  167.  
  168. #
  169. # Set startup audio frequency shift between mark and space tones.
  170. # You may select any value between 25Hz and 999Hz (default is 170Hz).
  171. #
  172.  
  173. set afshift 170
  174.  
  175.  
  176. #
  177. # While AFC (Automatic Frequency Control) is turned on, the audio center
  178. # frequency will automatically follow the input signal during RTTY reception.
  179. #
  180. # Disable AFC for now.
  181. #
  182.  
  183. set afc off
  184.  
  185.  
  186. #
  187. # Control automatic drop-back to LETTER mode for Baudot reception.
  188. #
  189.  
  190. set autounshift on
  191.  
  192.  
  193. #
  194. # Control blank line suppression for the RX window.
  195. # To save screen space we normally don't want blank lines.
  196. #
  197.  
  198. set rxblanklines off
  199.  
  200.  
  201. #
  202. # Set keying direction:  normal = 'mark' is high tone
  203. #                       reverse = 'mark' is low tone
  204.  
  205. set keying normal
  206.  
  207.  
  208. #
  209. # (De)activate the decoder for weather reports in SHIP or SYNOP format.
  210. #
  211.  
  212. set wxdecode off
  213.  
  214.  
  215. #
  216. # Set the default on/off state of the grid for the SCOPE function.
  217. #
  218. # On monochrome monitors and some LCD screens the display looks
  219. # better with the grid turned off.
  220. #
  221.  
  222. set scopegrid on
  223.  
  224.  
  225. #
  226. # A conventional RTTY decoder can be used in parallel to the standard
  227. # HamComm interface.  If the following option is set to 'on' the signal
  228. # from the external converter will be used for character decoding.
  229. #
  230.  
  231. set extconv off
  232.  
  233.  
  234. #
  235. # When the TX data buffer runs empty during transmit mode, HamComm will
  236. # automatically start sending idle characters.  This feature is normally
  237. # disabled but can be activated using the following command:
  238. #
  239.  
  240. set diddle on
  241.  
  242.  
  243. #
  244. # The TX audio signal is normally generated with the PC's speaker.
  245. # If we use the AFSK signal from the COM port or an external AFSK
  246. # we probably want to disable it.
  247. # The speaker can be controlled using the following command.
  248. #
  249.  
  250. set speaker on
  251.  
  252.  
  253. #
  254. # For some PAs (power amplifier) there should be a delay time between
  255. # activation of the PTT line and the RF signal from the transmitter.
  256. # This delay time is controlled by the PADELAY parameter.  When switching
  257. # to TX mode HamComm activates the PTT line immediately, but the speaker
  258. # output will not be enabled before the specified number of milliseconds
  259. # have elapsed.  Since most HamComm users probably don't have a PA or have
  260. # a PA that doesn't require the delay, PADELAY is set to 0.
  261. #
  262.  
  263. set padelay 0
  264.  
  265.  
  266. #
  267. # The transmitter needs a little time to start after we pull the ptt line.
  268. # Set the TXDELAY to the number of milliseconds required.
  269. # 30ms should be enough for almost any modern transceiver.
  270. #
  271.  
  272. set txdelay 30
  273.  
  274.  
  275. #
  276. # Now specify the time to wait after TXDELAY until we send out
  277. # the first character. Time for your qso partner to switch back
  278. # to receive mode.
  279. #
  280.  
  281. set txwait 1000
  282.  
  283.  
  284. #
  285. # Set the number of bytes for the receive buffer.
  286. #
  287. # All characters received are first put into this buffer by the 
  288. # interrupt routines.  When the TTY functions are active they
  289. # are removed from the buffer and displayed in the RX window.
  290. #
  291. # The size of the receive buffer should not exceed 65000 bytes.
  292. #
  293.  
  294. set rxbuffersize 512
  295.  
  296.  
  297. #
  298. # Set the size of the transmit buffer.
  299. #
  300. # All characters to be transmitted are first copied from the TX window
  301. # into the transmit buffer.  The transmit routine will remove them
  302. # from the buffer one at a time and send them to the speaker output.
  303. #
  304. # The size of the transmit buffer should not exceed 65000 bytes.
  305. #
  306.  
  307. set txbuffersize 4096
  308.  
  309.  
  310. #
  311. # Set the number of lines for the receive window buffer.
  312. #
  313. # This is not the window size on the screen, but the number of received
  314. # lines that can be rolled back.  For each line about 160 bytes of
  315. # memory are required.  Use the SYSTEM entry from the INFO menue to
  316. # display the size of free memory.
  317. #
  318.  
  319. set rxwindowlines 75
  320.  
  321.  
  322. #
  323. # Set the number of lines for the transmit window buffer.
  324. #
  325.  
  326. set txwindowlines 50
  327.  
  328.  
  329. #
  330. # For receive-only the TX window can be disabled on the RX/TX screen
  331. # to use all available space for the RX window.
  332. #
  333.  
  334. set txwindow on
  335.  
  336.  
  337. #
  338. # Set the maximum transmit line length.  Lines on old mechanical TTY 
  339. # maschines are somewhat less than 80 characters long.
  340. #
  341.  
  342. set txlinelength 66
  343.  
  344.  
  345. #
  346. # Set the entry mode for the TX window to 'line' or 'word'.
  347. # This can also be changed any time during program execution
  348. # using the Control-W key.
  349. #
  350.  
  351. set entrymode word
  352.  
  353.  
  354. #
  355. # Set the insert mode for the TX window to 'on' or 'off'.
  356. # This can also be changed any time during program execution
  357. # using the INS key.
  358. #
  359.  
  360. set insertmode off
  361.  
  362.  
  363. #
  364. # Define the end-of-text character.  HamComm will automatically return to
  365. # receive mode when the transmit routine reads this character from the
  366. # tx buffer.  The character can be specified as decimal number, hex number
  367. # or as the character itself.
  368. #
  369. # Examples: set endoftext 230    # use the greek letter for 'micro'
  370. #           set endoftext 0x7F   # use the DEL character (control-backspace)
  371. #           set endoftext "ß"    # this is handy for german keyboards
  372. #
  373. # The end-of-text feature can be disabled by using the value 0.
  374. #
  375.  
  376. set endoftext 0x7f      # control-backspace
  377.  
  378.  
  379. #
  380. # The callsign decoder normally uses the file HC.PRE for information
  381. # about prefixes.  If you already have a file with the same format
  382. # on your disk you can tell HamComm about it with the "set prefixfile"
  383. # command.  Here is an example:
  384. #
  385.  
  386. # Example: set prefixfile c:\ham\cqww.cty
  387.  
  388.  
  389. #
  390. # A logfile for the RX window can be opened using the "set rxlogfile ..."
  391. # command.
  392.  
  393. # Examples: set rxlogfile "startup.log" # open logfile startup.log
  394. #
  395. #           set rxlogfile ""            # close current logfile
  396.  
  397.  
  398. #
  399. # Define some standard texts.  They can be selected for transmission
  400. # from the 'Text' menue.  The texts labelled SHIFT_Fxx can also be send
  401. # by pressing the corresponding function key.
  402. #
  403. # Double quotes (") are only required if the string contains spaces
  404. # or the comment character (#).
  405. #
  406. # \#  will be replaced with the current QSO count.
  407. # \+  increments QSO count, then just like \#.
  408. # \d  will be replaced with the current date and time.
  409. # \e  will be replaced with the currently selected end-of-text character.
  410. # \n  starts a new line.
  411. # \z  will be replaced with the current time.
  412. #
  413. #
  414. # A text can be included in another text by surrounding its name
  415. # with '~' (tilde) characters.  If the name starts with an AT sign (@)
  416. # HamComm will look for a file with that name.  See 'STATION.TXT' for an
  417. # example.  Note that the text in the included file can itself include
  418. # other texts or files.  Make sure that there are no circular references!
  419. #
  420.  
  421.  
  422. define text mycall    DL5YEC
  423. define text myselcall DYEC    # AMTOR selcall
  424. define text myname    Django
  425. define text myqth     Paderborn
  426. define text mylocator JO41JR
  427.  
  428. # The text "mylocator" is also used by the QTH distance/direction calculator.
  429.  
  430.  
  431. #
  432. # Define text for AAB (Automatic-Answer-Back).
  433. #
  434. # The text should end with the familiar '+?' sequence to turn the
  435. # link back to the remote station.
  436. #
  437.  
  438. define text AmtorAAB  "\nQRA ~mycall~ ~myselcall~ +?"
  439.  
  440.  
  441. #
  442. # Define text elements for function keys SHIFT_F01 - SHIFT_F10.
  443. #
  444.  
  445. define text SHIFT_F01  " ryryryry cq cq cq de ~mycall~ ~mycall~ ~mycall~"
  446.                        " ~mycall~ ~mycall~\n"
  447.  
  448. define text SHIFT_F02  " ryryryry ~call~ ~call~ ~call~"
  449.                        " de ~mycall~ ~mycall~ pse k k k\n\e\n"
  450.  
  451. define text SHIFT_F03  " ryryryry ~call~ de ~mycall~\n"
  452.  
  453. define text SHIFT_F04  " back to you ~name~... ~call~ de ~mycall~ pse k k k\n"
  454.  
  455. define text SHIFT_F05  ~@station.txt~
  456.  
  457. define text SHIFT_F06  " de ~mycall~\ntnx... 599 \+ 599 \# 599 \#\nbk bk "
  458.  
  459. define text SHIFT_F07  " ~call~"
  460.  
  461. define text SHIFT_F08  " ~mycall~"
  462.  
  463. define text SHIFT_F09  "ryryryryry"
  464.  
  465. define text SHIFT_F10  " pse k k k\n"
  466.  
  467.  
  468. #
  469. # The following text elements can be used to distinguish
  470. # received/transmitted text in a logfile.  They will be evaluated
  471. # and inserted at the beginning of every line of the logfile.  
  472. #
  473. # Examples:
  474. #   define text logrxlabel ""             # delete previously defined label
  475. #   define text logrxlabel "RX:"          # insert "RX:"
  476. #   define text logrxlabel "~call~ \z "   # insert call and time
  477. #
  478.  
  479. define text logrxlabel "\z ~timezone~ "
  480. define text logtxlabel "T "
  481.  
  482.  
  483. #
  484. # Some standard phrases
  485. #
  486.  
  487. define text std01     " tnx for answering my call."
  488. define text std02     " my name is ~myname~ ~myname~ ~myname~."
  489. define text std03     " my qth is ~myqth~ ~myqth~ ~myqth~"
  490. define text std04     " locator is ~mylocator~ ~mylocator~"
  491. define text std05     " your report is "
  492. define text std06     " how do you copy ?"
  493. define text std07     " tnx for the nice qso and hope to cuagn."
  494. define text std08     " 73 es 55 to you ~name~ and your family."
  495. define text std09     " the weather today is "
  496. define text std10     " the temperature is abt "
  497. define text std11     " and now i'll get me another beer. "
  498.  
  499.  
  500. #
  501. # Define other text elements
  502. #
  503.  
  504. define text banner    "\noooo   o      ooooo  o   o  ooooo   ooo"
  505.                       "\no   o  o      o       o o   o      o   o"
  506.                       "\no   o  o      oooo     o    ooo    o"
  507.                       "\no   o  o          o    o    o      o   o"
  508.                       "\noooo   ooooo  oooo     o    ooooo   ooo\n"
  509.  
  510. #
  511. # Ignore rest of config file
  512. #
  513.  
  514. exit
  515.  
  516.  
  517. 73 es 55 de Django
  518.  
  519. packet radio: DL5YEC@DB0BQ.DEU.EU
  520.  
  521. e-mail: schroeder.pad@sni.de
  522.